﻿using System;
using UniRx.Operators;

namespace UniRx
{
	// Token: 0x02000237 RID: 567
	public static class ObserverExtensions
	{
		// Token: 0x06000D3B RID: 3387 RVA: 0x0003F6B8 File Offset: 0x0003DAB8
		public static IObserver<T> Synchronize<T>(this IObserver<T> observer)
		{
			return new SynchronizedObserver<T>(observer, new object());
		}

		// Token: 0x06000D3C RID: 3388 RVA: 0x0003F6C5 File Offset: 0x0003DAC5
		public static IObserver<T> Synchronize<T>(this IObserver<T> observer, object gate)
		{
			return new SynchronizedObserver<T>(observer, gate);
		}
	}
}
